Js Remove Element From Array By Index