add phantomjs to .gitignore
clear tmp file before copy buffer to clipboard