remove unneeded lines
refactor
refactor by querySelectorAll
add comment