test if build.js is present before running r.js