A small utility to simulate inheritance in javascript.