fix paths to work at /phantomjs