Update rails.js