Running different js files within the same replit project

How can use different js files to display different pages
I would like to have different js files drawing different pages for various levels of a game.
I have all the js files in the same replit project but I would like to load one js call/run another js file. I use () function but I cannot see the pages displayed without clicking run each time.

Repl link:

code snippet"", "_self")