JS and RoR documentation