Php Change Array Value Javascript Playground