Some game-dev js/lua tweaks.
Make add-hooks idempotent by removing anonymous lambdas.
Keybindings/functions for ease of Ruby on Rails programming.