Autoremove trailing spaces when saving JavaScript buffers.