update r.js too