Move cursor to end for IE