Tidied up clipboard.js