cleanup trailing whitespace in .js files