Javascript Remove Index From Array In Javascript