Variables get hoisted, so I'd move this below the `var` definition.