title: javascript window.alert generates error
body: <p>I'm attempting to use <code>window.alert</code> for debugging purposes, but the <code>window.alert</code> itself generates an error message:</p>
  
  <pre><code> Line: 559
   Error: Unable to get value of the property 'alert': object is null or undefined
  </code></pre>
  
  <p>This statement appears at line 560 in <a href="http://phillipmfeldman.org/English/hangman.new.html" rel="nofollow">http://phillipmfeldman.org/English/hangman.new.html</a>.<br>
  Any suggestions as to what I'm doing wrong will be appreciated.</p>