1. A system for manipulating a document object model, the system comprising: a collection of document object model behavior elements, each behavior element comprising: a namespace; an event attribute for associating the behavior element to an event; and other attributes for describing features of the behavior element; and a collection of scripts for performing actions associated with the set of behavior elements, each script associated with a behavior element.