Cropping images in the browser BEFORE the upload