Anagram Textbox JavaScript