added end scrript tag