Anagram challenege again, this time in JS and much more lengthy...