use correct ajax url in schedule view