refactor(html) optimize: next -> each