changed ajax URL to relative