Converted commits.js to coffeescript