Anagram: Fix XSS

Sorry... I messed up this one too. Please, test it before merging -- I'm in the US (wooo!) and I have a very crappy laptop.
Update Anagram.pm
Merge pull request #588 from gdrooid/patch-1

Anagram: Fix XSS