1 of 1 people found this helpful
Problem was solved:
the main thing that our Tableau Server doesn't have access to Internet.
Script referred to external library (wdc 126.96.36.199)
We changed html to use local library and uploaded that library to Tableau Server as external file.
After that everything works.