added javascript solution to anagram-detection