Use the preincrement operator and use the JSLint plusplus option
Use <group>.forEachAlive instead of the iteration with an index and GetAt (which lead to bugs)