converted changelog code to coffeescript