HTML5 function prompt() is not declared, and gives an error when used. See https://developer.mozilla.org/en-US/docs/Web/API/Window.prompt