Tiled Gallery: Using jQuery foreach instead of standard foreach for backwards compatibility.