Javascript code in <script> doesn't get executed

You should of got a CSP warning in the console anyway. So check for that!