Fixed a bug which caused </script> to be not recognized as a tag