Simplified CoffeeScript by better application of UJS