fix JSONP resources
Merge pull request #2563 from gittip/fix-jsonp

Fix JSONP resources