make changes to coffeescript to suit our needs