<script>
: Replace <
to \x3C
in sequences </
and <!--
.&
to &
first, and then<
to <
.<title>
; "
to "
or '
to '
depending on which type of quotation marks.
avoid unquoted user input (harder to escape)!
serialize_data.js
escape.js
.