Add dropdown.js to boostrap group only if menu contains children