I used JSLint on a JavaScript file of mine. It threw the error:
for( ind in evtListeners ) {
Problem at line 41 character 9:
Vava's answer is on the mark. If you use jQuery, then the $.each() function takes care of this, hence it is safer to use.
$.each()
$.each(evtListeners, function(index, elem) { // your code });