Make AssignOrToJSVal static