Auto remove trailing whitespace for js and coffee files