Elegant customizable inheritance, attributes and events in JavaScript.