Consolidated canvas.js