Php Change Array Key Javascript