Fixed chrome errors with CSP