Reduce CSP warnings on inline script usage. Externalize js to own files.