Added build script for r.js