added r.js for potentially optimizing scripts