Adding phantomjs to image