adding optional jsonp parameter to events/get_data

* using the same code / structure as `render`