added js doFilter function for filtering pages
fixes tree grid and filter