Classical Inheritance Pattern via JavaScript