Therapeutic refactoring, make interwebs angry

var keyword on each line, make interwebs angry

Therapeutic refactoring