API auto JSONP support

Added automatic JSONP support