fixed absolute path for ajax requests