Applied CoffeeScript to layout.