added John Resig's JavaScript Inheritance.