Fix content manipulation issues in IE, Firefox nightly.
Minor minification optimizations
Fix some weird characters throwing in IE