I have some experience with this.
But nothing working in every case.
Please see code in attachment.
You will need to make an assets/TS2 or assets/TS1 directory and get it to load the files from respetive paths.
This test will require a webserver
You can set one up with xampp on windows easily. But you might already know this