How to load and optimize scripts — Next.js · Smolify