Class Type Array Javascript Iterations In Python List