Better fix for </script> in JSON bug