Update loadcanvas.js