added jsonp polling support

Signed-off-by: Guyzmo <guyzmo+github@m0g.net>