Tiny framework for writing inheritance in javascript