fix crop JS