How to reduce the Storyline published file size?

I have the following problem. I created a story archive that consists of 30 slides and its size is 9.40 Μb. After I published it, the folder that was created has a size of 240 Μb. I opened the folder where the .js files are, and I saw that for each slide a js file was created whose size is 8mb.
When i compressed the output folder with winrar, the size of the compressed file is 3Mb.
How can I reduce the size of the .js, so I can publish it on a website?
The size of the images in project is small.

I am using storyline 3.

6 Replies