added phantomjs test scripts