Js Remove Object From Array Swift