Write a Javascript function that checks whether a string is the anagram of another string (without Jquery).
Design an html area so the user can enter input data and see the result.