Php Get Url Path Javascript Array Find Items In Home