refactor code
add canvas.js.map