Update with support for JSONP as alternative to CORS for cross domain requests