[*] BO: move validateImportation() JS function
Merge pull request #1704 from PrestaEdit/validateImportation

[*] BO: move validateImportation() JS function