dropdown.js modification

Fixed issue where nested dropdowns were broken due to removal of e.stopPropagation() in last commit.