Now $def is also a function of Object prototype's,

This is cool, because now classes can be declared as plain old object
literals:

var MyClass {

}.def();

Cool!