removing 'trailing whitespace' error when parsing the code with jshint on builds