Hi Mark,
I tend to avoid the for .. in loops for this kind of reason. You can use
jQuery.each instead to iterate over an Array or Object. jabberwerx.js bundles jQuery, and defines window.jQuery if not defined yet. So window.jQuery (identical to jabberwerx.jQuery) should be available in your application to do iterate over arrays like this:
var myArray = [1, 2, 3];jQuery.each(myArray, function(index, element) { // do something with element});Hope this helps, Thomas