Fixes for container mode and IE8 test case