* update messages in the actual JavaScript files; also remove trailing whitespace