Modified the mycanvas.js.