1. An apparatus for extending JavaScript, the apparatus comprising: a multiple inheritance module configured to enable JavaScript to implement multiple inheritance; a messaging module configured to enable JavaScript to implement messaging; and a polymorphism module configured to enable JavaScript to implement polymorphism.