Fix jsonp content-type response header

Incorrectly sends application/json rather than application/javascript on a jsonp request which breaks strict mime handling. In response to error: Refused to execute script from '...url...' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
Merge pull request #380 from simonlampen/master

Fix jsonp content-type response header