support both - jsonp and ajax