Node format cleanup

Cleaned up the rest of the files for formatting and making sure they are
all 4 tab width and white spaces. Removed any trailing whitespaces as
well.