change ajax url to absolute