Fixed clean checkout build script bug
Fixed js bug