#3475 move IE check to domReady