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

closes #2039

It refactors a bit the deposit javascript structure ping @lnielsen-cern 
@lnielsen-cern let's not change anything just yet.