Refactor scripts, and improve canvas extension performance.

* Update canvas to 0.1.0.61