add requirejs dependency for build
fix sh context execution to bash