Fix inline JavaScript in <head>