Having a class like this gives me the opportunity to do something like:
var self = this;
this.loginPerson = loginPerson;
function loginPerson(userName, password)
// do some stuff!
Are there better ways to do this? It just seems like the "var self = this" thing is stupid, because inside the Person.js file I have to reference everything local by "self" instead of "this". Thoughts??
var person = new Person();