Replace custom StripWhitespace function with vim-better-whitespace plugin