Remove last occurrences of innerHTML