Var declarations and scope