Use let instead of var

`let` is better than `var` in all cases.