Delete trailing WS in JS files