Please search for JavaScript prototyping, you will find really good explanations of the concept, for instance:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype
- http://stackoverflow.com/questions/4650513/why-is-javascript-prototyping
- http://weblogs.asp.net/dwahlin/archive/2011/12/19/using-the-javascript-prototype-property-to-structure-and-extend-code.aspx
I will not pretend I invented the code you will see because the main part of it has been extracted from J.Reisig's excellent blog: http://ejohn.org/blog/simple-javascript-inheritance.
However, I tried to improve the idea by adding attributes, a concept that I discovered while coding C# (for instance, please check this intersting thread: http://stackoverflow.com/questions/144833/most-useful-attributes). Indeed, it allows to qualify the class members in order to alter the way they are handled.
This step is an important one for the library as it will structure its development.
Stay tuned!