Python User Input Array Javascript Push Method In Javascript