Converted components.js to Coffeescript.