Having an issue with toDataURL from phantomJS