feedback on coffeescript code