I am having following script file
After a lots of R&D finally I found my solution.
I have used npm postscribe to load script in react component
postscribe('#mydiv', '')