Switched to using PhantomJS as a browser