Moved frontend JS code to CoffeeScript sources, too.