fix </ issue in script tag