A simple model of radiative emission in M87