moved more methods from Global to the st-js.shared JSGlobal object.
These methods belong to the language definition, not to the HTML bridge.