From https://stackoverflow.com/questions/11181546/node-js-express-cross-domain-scripting