Base object for using prototypal inheritance in javascript