Make build.js to hold the paths for all patterns and build with r.js