fix trailing whitespace breaking jshint