Tested with file:// CORS is working locally, but not in phantomjs
numerous attempts to find out why phantomjs is unable to execute a CORS XHR, despite being supposedtly able to do it.