shell escape the url being run in phantomjs.
prepend the routes like they should be.