In order to improve the page performance I need to preload scripts that I will need to run on the bottom page.
I
I've answered the same question there:
https://stackoverflow.com/a/46121439/1951947
just use the tag to preload your script and then you can use it with the tag
eg: