Java Array Delete Element Javascript Playground