added r.js and build.js for minification of JS