some updates for RoR and js_framewords