A Base Class for JavaScript Inheritance