Pixelate images with Javascript.