A CORS plugin for diet.js