Wrap buildMenu query handler in IIFE