Delete Specific Index From Array Javascript Length Text