working on ajax call but having problem with id in url