deposit: form.js field modified fix

* Allows fields such as multi-select to properly get the values.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
base: build.js improvement

* Reuse settings.js configuration to avoid redundancy.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>