Drops jquery-ui bundle and refactors jQuery UI modules on deposit

closes #2039

It refactors a bit the deposit javascript structure ping @lnielsen-cern 
I'd put it with `"jquery"` above, embrace the async from AMD.