updates request to jsonp and upgrades the example