Delete Object From Array Javascript Mdn Math