`<a>` tags are no longer needed in menus in master. This line can just be `.text( item.label )`.