Removing Element From Array Javascript