Fix  setting the selectedIndex of dropdown lists in test-ui.js and perf-ui.js.
Fix lodash-node unit tests.