Fix script URL in layout