Dołącz element do określonej klasy

document.getElementsByClassName("thistime")[0].appendChild(first);
Jittery Jaguar