Delete Specific Index From Array Javascript Length Of Array