Add removal of trailing whitespace

Signed-off-by: Ian Macalinao <ian@giza.us>