"alert" is not defined when running www.jshint.com
<p>I fixed this by simply adding <code>var alert;</code>  However, is this what I should be doing to get the pesky error message to go away?  Here is the fix.  Here is the fail on <a href="http://www.jshint.com/reports/71017" rel="nofollow">www.jshint.com</a>.</p>

<p>I'm trying to learn from the error it throws..not necessarily make them go away.</p>

<pre><code>(function () {

"use strict";

var alert;  //  added this in to fix

function initialize_page()
  {
  alert ("hi");
  }

addEventListener('load', initialize_page);

})();
</code></pre>
