Moved dropdown script into dropdown.js