JavaScript Object-Oriented Subclassing of HTML Elements