Changed the hardcoded Ajax URL to pick from relative path