Fixing javascript error in IE8 while selecting the item from autocomplete menu

I've added enclosing tag to all _renderItem() JavaScript functions to fix wrapping item label with <a>, <span> tags. Forgetting to enclose labels properly ends up in not adding <a>, <span> tags at all which eventually leads to JavaScript error in IE8 while trying to select rendered autocomplete item.