try html2canvas image options, add copy button and code refactor