title: uncaught ReferenceError xxx is not defined
body: <p>Why do I not see the problem? Can someone help me out?
  I know it is a very stupid question.. but I do not see it..</p>
  
  <p>to execute:  <code>var xxx = new User()</code> and I always get this:</p>
  
  <pre><code>ready!
  VM1507:1 Uncaught ReferenceError: User is not defined(…)
  </code></pre>
  
  <p>I'm sorry to ask.. </p>
  
  <pre><code>$(function() {
     console.log( "ready!" );
  
     function User() {
         this.badgeVervalDatum = null;
         this.bijNaam = null;
         this.contactVia = null;
         this.email = null;
         this.familieNaam = null;
         this.gsm = null;
         this.id = null;
         this.middleNaam = null;
         this.postcode = null;
         this.rkNummer = null;
         this.sanBekw = null;
         this.straat = null;
         this.voorNaam = null;
         this.volledigNaam = null;
         this.woonplaats = null;
         this.timeCreated = 0;
         this.timeUpdate = 0;
         this.timeLastLogin = 0;
     }
  
     User.prototype = {
         constructor: User,
         addEmail: function(email) {
             this.email = email;
             return true;
         }
     }
  });
  </code></pre>