use knockout.js for canvas.