Changes in case of Content Security Policy

Content security disallows the use of in-line script.