you should move the var statement down to here and make this just comma separated variable declarations. Save a step and declare and set them at the same time.