database.js : clean data content before submiting

operation on the form can create some artefact we need to remove before submit
1 job for 3972-supprimer-une-ligne-intermedaire-du-multiupload-provoque-une-erreur in 8 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test Tools
passed #691554
test_tools

00:00:08