clean up If IE starting code