Check for JavaScript support on <head>