Update Canvas2ImagePlugin.js