Minor refactoring in durer.coffee