Changed var declaration to avoid jshint warning.