Updated CoffeeScript generator templates to match JavaScript versions