Added phantomjs polyfills as a spec helper