Finished implementing set() in mapinput.js.
Added dropdown.js for wrapping button dropdowns.