git ignoring node_modules
added onError handing for phantomjs to avoid page errors being passed through