Remove Multiple Object From Array Javascript Function Call