Extending Classes In Object Oriented Javascript