reduced some lines to have less than 80 chars to be more compliant with coffeescript coding guidelines