JavaScript: Inheritance John Resig