Well, this is because you are using an anonymous function.
You can specify the names of anonymous functions (yes, that sounds weird), you could:
var MyJSLib = {
Person : function Person (name) {
this.name = name;
}
}
var john2 = new MyJSLib.Person('John');
console.log(john2.constructor);
,
, , , .
, :
console.log(john2.constructor === MyJSLib.Person); // true