Use JavaScript to eliminate plurals ending with S