added jsonp-polling support