Jquery plugin that converts a UL with links to a selector