Moved many classes/fields/methods from the HTML bridge that actually
belong to the JavaScript language itself.
added some important constructor methods to JSGlobal. These are useful
for doing type conversions in JS.