Hoisting will take care of the declaration of the var inside the conditional, but it still looks weird -- pull the declaration above the if?