Added extra html_safe to stop apostrophes being escaped inside the javascript_tag