fix for editing forms containing </script> tags

http://manage.dimagi.com/default.asp?88879
Merge pull request #2101 from dimagi/cz

fix for editing forms containing </script> tags