throw phantomjs error

Phantomjs errors are currently swalled.

Now phantomjs debug will be easier.