But, I have google maps embedded on the page that keeps loading things which means the script doesn't get loaded for a while causing a lot of things to be non-responsive until google maps stops loading things, and because of my bad internet and slow internet speed on the server, everything took 2.8 minutes until everything finishes loading and the scripts finally gets loaded

in this picture you can see all the scripts are loaded after everything is loaded, which in this case took 3.5mins

So, are there a way to fix this issue? maybe load the scripts sooner, or making the google maps embed load at the end (but still at the same position visually)