Update EnumSlider.js

Fixed spelling error in the word function.