Image Processing Lib in JavaScript and HTML5 Canvas