Remove Object From Array With Condition Javascript