Fixes an issue where script tag is not coded as a valid html manner.