add support for JSONP callbacks