Fixed a bug where multiple </script> tags were added to the logging file