Remove JS trailing whitespace