Adding support for CSP-compliant js sources.