adding li.active and li.divider classes to dropdowns