Add some extra style checks to jshint and fix them in the files

My point is, why else would trailing commas be a bad thing?