ReactJS - how to interract with component from outer js - ROXL