Fixed two IE8 compatibility issues:
-tagged/numbered list emptied the page when saving page or changing into wikitext mode
-ref.js dialog crashed, unable to save definition