*8399* Fix IE8 JS behavior