add Ajax and Jsonp methods