Fixing 'for(i in list)' usage in ome.plateview.js