Added r.js and build script