Commit after DOM hit reduction and event binding out of loop