why without var, and next variable (callback) is declared with var?