Changed MIME type of JSONP API requests to text/javascript

In Chrome 30, a warning is issued to the console when using JSONP to access the API. The warning is "Resource interpreted as Script but transferred with MIME type text/html." The JSONP call is still executed successfully. By altering the "Content-Type" header only in the case of JSONP to text/javascript Chrome is once again happy.