Refactor the file to make it more understandable (remove coffeescript generated stuff)