Remove trailing whitespace in all the js.