Replace Array Value Javascript Playground