Php Iterate Over Key Value Javascript Code Editor In Browser