fixed problem with </script> tag in external js files