Php Json Javascript Array Find Function