Added closing tag to script
fixed syntax errors
missing tags