A wrapper for webmodules/jsonp that uses promises