It looks like you are using the Delayed JS option in the cache plugin. If you want to load some scripts when the page is loaded, you need to exclude them from this option. You need to consult with the cache plugin developer for further assistance on this matter.