Digital Image Processing in javascript and html 5