Added access to the root object's properties in JavascriptEngine