because browsers might (and will) read <script> and think they should start a <script>-tag, disregarding that it's inside a string and should be treated as such. especially painful if you have some document.writeln('</script>'); in your code and wonder, why code after that line isn't executed.