ruby and fix js hotkeys