updated grace time flasher to work on IE