Making the lex() function in Bootstrap recursive