Also having a `var X` within an if block like that in strict mode is evil and can cause odd scope problems, so my way moves the declaration outside (higher) and drops the individual `var` declarations below.