Resizing Images for a Zoom Effect With JS