Convert Array Values Javascript Playground