fixed closing tag on script tag. updated code indentation on JS