Use phantomJS to convert text to image