removes r.js