added jQuery to keep track of keys pressed and make temp
string that keeps track of remaining words.