Removing trailing whitespaces in javascript files.