node: remove trailing whitespace