adding support for JSONP

Related to bug #11