Javascript Image prototype extention for adding: Bicubic interpolation resampling, cropping, and watermarking