Moving everything to the top level
fixing html2canvas issue