Remove redundant block of code from <head>