don't load xmlhttprequest module when running in phantomjs