Dynatrace Java script agent is meant for diagnosing the web browser environments by injecting the java scripts into the HTML pages.
You can download from the below link
JS agent download: https://www.dynatrace.com/support/doc/appmon/appmo...
The above link helps you in enabling the Java script agent manually. If you have web server or java agents enabled on the servers already you can use them as well.