Simplified render code for autocomplete menu generation