Question: In Joomla I used the jevent component. After disabling it I still see the jevent link in my administrator menu on the backend. Why? How can I get rid of it?

Answer: 
Try:

```
$('ul:has(li:empty)').filter(function() { 
    return $(this).children().length === 1; 
}).remove();

```

[**DEMO**](http://jsfiddle.net/fiddleyetu/hdo3o0e4/)
Use jquery's [unwrap()](https://api.jquery.com/unwrap/) 

```
    var el = $('div[id^="token-input-code"]');
        el.parent('li').unwrap();
        el.parent('ul').unwrap();

```