run phantomjs from root level dir