Added  encapsulation to the global scope

- Added encapsulation to the global scope 
- Added Object.create support for IE