[JS] - Set object instance to be global level