Detect invalid versions of coffeescript (#635)
Merge review 464 by @mlucy (Closes #635)