Fixing path issues for Windows when starting phantomjs

A problem occured when phantomjs spawned on windows. It would include script tags with the wrong relative source.