Update index.html

capitalize and randomName are undefined on the global scope
Merge pull request #1 from gregerg/patch-1

Update index.html