Saves an image from a webcam in browser