Delete Object From Array Javascript Push Function In Python