Adding log for phantomjs