javascript remove element from array if exists in another array