Add r.js to directory layout tree.