Added addObjectAsPropertyToJSArray and addObjectToJSArray  to JavaScriptUtils