change jsonp to the CORS method to enable cross domain queries.