simple hack/plugin that will allow the new WP-API to also work in a cross-domain environment (enable CORS)