Python Fixed Length Array Javascript Push Data