[coffeescript mode] Fix bug introduced by 567a94b89cbe8b

Issue #1932