IE8+ JS Fixes. It now renders properly in IE8+, Firefox and Chrome