Update JSONP.js

added onerror callback