remove trailing whitespace from grammar.coffee