deposit: for loop rewrite to $.each
deposit: for loop rewrite to $.each

Signed-off-by: Javier Martin Montull <ea6b80e26c65acc242d8916fb6eefa01b123cb69@cern.ch>
Reported-by: Yoan Blanc <7e8c88beed64bd6a341c3085bc82ac100e832f6e@cern.ch>

inveniosoftware/invenio-deposit,inveniosoftware/invenio-deposit,inveniosoftware/invenio-deposit,inveniosoftware/invenio-deposit