It would help if you used the [code] tags. Then we could see your indentation. Also, why have you multiplied by 100000 to get minutes? It should be 60000.
As for populating your word list, why not have the user enter in some words, then do something like:
dictionary = document.getElementById("userwords").value.split(" "); Also, I'd advise getting the
Prototype library. It really makes Javascript coding a heck of a lot easier.