Php Json Javascript Array Methods And Properties