Js Remove Object From Array Javascript Append