We moved these to inline script so the page would load faster before script was loaded