javascript: jQueryUI refactor in accounts and search

Removes the jquery-ui.js bundle from search and account and loads only the required jQuery UI modules.