Add option to allow custom class in UL element and allow html content in LI element