Javascript Filter Out Object From Array Python Initialize