Elegant inheritance, attributes and events, both for client-side and server-side JavaScript.