MelonGuns
No, js function could not change any property of object directly.
User could add a C2 official functions, do something at these functions, then called at js function. See first post of this thread, it print some text through C2 function event.