prevent script warning for ie