make  the Ajax calls all use relative directory references