Please contact the author of the script on how to use the script in wordpress content .
Also if you want to use the script in units then make sure that the script is ajax compatible .
YOu have to initialize the scripts at unit load if you want the script to work in-course in units .
refer :
https://wplms.io/support/knowledge-base/run-custom-actions-on-unit-load/
Also do all the customizations in either the wplms customizer plugin or in child theme's functions.php .