refactored numbers to words and added jquery