changing to html2canvas