Fix script tag in layout