15. A non-transitory computer readable storage medium storing one or more programs for execution by one or more processors of an electronic device with a touch-sensitive surface, the one or more programs including instructions for: receiving a document from a server, the document including an embedded script; rendering and displaying the document at the electronic device and executing the embedded script, including: establishing a touchevent interface object that includes a plurality of touchlists; and upon detecting one or more touches on the touch-sensitive surface: updating the touchevent interface object with touch data, including values in two or more of the touchlists; and further executing the embedded script in accordance with the values in at least one of the two or more touchlists, wherein: the touchevent interface object includes a plurality of distinct touchlists, a respective touchlist including two or more concurrent touches; and updating the touchevent interface object with touch data includes updating values in two or more of the touchlists.
18. The computer readable storage medium of claim 15 , wherein the one or more programs including instructions for: in accordance with an instruction in the embedded script corresponding to a respective element of the document, establishing the touchevent interface object as a touchevent interface object corresponding to the respective document element, the touchevent interface object including the plurality of touchlists; and upon detecting one or more touches, updating the touchevent interface object with touch data, including values in two or more of the touchlists.