Replaced custom_ko JS with CoffeeScript