better coffeescript in the filter example