Lint classes better (much better) --- Fixes gh-1940

So, so much better!
(originating here: https://github.com/jshint/jshint/pull/1947/files#diff-7cd6d0e1db309008199ead0cb3a0b76fR3612)