making sure r.js is at the bottom of the page