make sure the js files are compiles before running the build
make sure before build the js files are compiles