a few changes made in jquery script to make sure the word characters is pluralized coreectly