Fixed bug #2. Removed unnecessary </script> tag.