Revert "r.js for building"

This reverts commit 8c320d0fab6ef166f7cd0bb72a8a166b810ac4ff.