Php Get Url Path Javascript Array Find Item By Upc