Remove unnecessary "var" from emit()

We already have **callback** as parameter. Therefore the variable is defined locally. No need to redefine it inside the function with an explicit **var**.