Thanks for downloading NextGEN Gallery Optimizer Premium!
It appears your Page Builder is using widgets to piece together the page, but unfortunately, it's not currently possible in WordPress to detect if a widget is actually present on a page before the head section of the document is loaded (re: Optimizer's FAQ), and loading the extra gallery scripts sitewide would defeat the purpose of the plugin.
However, I've recently come up with a solution whereby if you tell Optimizer beforehand where you want the necessary scripts to run, it will indeed load them conditionally in the head where they won't break, and only on the pages you specify (not sitewide).
I'm currently working on a conditional-building form for the plugin's settings page, but until then, I've sent you an email with a customized version of Optimizer Premium, which features a conditional function that will load your gallery scripts and stylesheets on the homepage (in addition to your regular [nggallery id=x] shortcodes in your post/page content).
Let me know if you require any further assistance.
I hope this helps!