setup r.js (issue #6)