Update anagrams_for.js

Change of plans.  Use slice/splice instead.