Delete Specific Index From Array Javascript Push To Beginning