Fix timing for IE 9