Autoremove trailing spaces when saving JavaScript buffers.
Merge pull request #4 from tklun/whitespaceFix

Autoremove trailing spaces when saving JavaScript buffers.