switched to phantomjs