I had add 3rd script in my react files, and I want to use 3rd script's function in my react component, but it will be error about undefind.