Php Get Specific Key Value Javascript Foreach