clean up isAnagram.js