prompt in index.html must rename, prompt is a keyword.

prompt='OK ' should rename to kvmPrompt='OK '. window.prompt() is a very
useful built-in function'