fix getByClass in the todolist demo + comments