Remove unused requires
Join short lines
Move var outside loop