fixed build.js dependencies for application