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

closes #2039

It refactors a bit the deposit javascript structure ping @lnielsen-cern 
:+1: