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 220.127.116.11)
We changed html to use local library and uploaded that library to Tableau Server as external file.
After that everything works.