Create canvas2image.js