Crop Image PureJS