1. A method for performing script operations in a mobile device, comprising: (a) requesting a first web-based object; (b) transmitting a list of scripting languages that are compatible with said mobile device; (c) receiving said first web-based object and a first script related to said first web-based object; (d) storing said first web-based object and said first script; (e) executing said first script, when said first script is in a scripting language included in said transmitted list, thereby causing a page specific global object to be defined, wherein said page specific global object controls how web-based objects are presented on a first web-page displayed on said mobile device; (f) storing said page specific global object; (g) updating, when said first web-page is displayed, one or more properties of said stored page specific global object in accordance with said first script, wherein said properties determine how web-based objects are presented on said first web-page; (h) retrieving said stored page specific global object for use by a second script related to said first web-page; and (i) controlling access to said properties of said stored page specific global object from a third script related to a second web-page.
1. A method for performing script operations in a mobile device, comprising: (a) requesting a first web-based object; (b) transmitting a list of scripting languages that are compatible with said mobile device; (c) receiving said first web-based object and a first script related to said first web-based object; (d) storing said first web-based object and said first script; (e) executing said first script, when said first script is in a scripting language included in said transmitted list, thereby causing a page specific global object to be defined, wherein said page specific global object controls how web-based objects are presented on a first web-page displayed on said mobile device; (f) storing said page specific global object; (g) updating, when said first web-page is displayed, one or more properties of said stored page specific global object in accordance with said first script, wherein said properties determine how web-based objects are presented on said first web-page; (h) retrieving said stored page specific global object for use by a second script related to said first web-page; and (i) controlling access to said properties of said stored page specific global object from a third script related to a second web-page. 3. The method of claim 1 , wherein step (e) comprises: compiling said first script.