style(dropdown.js): drop unused vars