--- jrating.module.old	2008-02-13 20:02:24.000000000 +0100
+++ jrating.module.new	2010-02-25 13:50:02.000000000 +0100
@@ -437,8 +437,8 @@ function jrating_average_rating($content
 
 function jrating_footer($main = FALSE){
 	drupal_add_js(
-	'$("head").append("<style type=\'text/css\'>form.rating{display:none}</style>");
-	if ($.browser.safari){ $("head").find("style:last").append(" ") }',
+	'/* <![CDATA[ */ $("head").append("<style type=\'text/css\'>form.rating{display:none}<\/style>");
+	if ($.browser.safari){ $("head").find("style:last").append(" ") } /* ]]> */ ',
 	'inline', 'header');
 	// have to append the contents otherwise safari doesn't recognise it
 }
