Impl class in javascript
Inheritance in js