fixed AJAX relative path bug