JavaScript (ecmascript5) OOP lib