Update canvas.js

Removed debugging code