Using PhantomJS to serve HTML content of Single-page App