please use the jQuery `$.each` or Underscore `_.each` functions for maximum compatibility and consistency