move ajax prefilter to main startup file