js: anagram: i kinda like this now