Get Index Json Javascript Array Push Not Working