add full paths for ajax