Started using CoffeeScript and tried to refactor a little bit, working on details view