Fix the handling of accept header for jsonp

/to @ritch 

jQuery AJAX sets the Accept header to be 'application/javascript' for jsonp request.