Add some caching
Hack in a JSONP fallback if CORS support is not available