JavaScript based image manipulation libraries rely usually on HTML5 Canvas and provide some specific operations. Examples: CamanJS, Pixastic.