+ fixes for "dropdown.js"

- removed unused variable
- fixed code-style