Correcting the script tag ending