r.js further implementation. build version of app is in site-built/ dir.