Dropdown functionality & moved js libraries