Php Change Array Key Value Javascript Editor