Fix #1142 JS error while validating user inscriptions
Merge pull request #622 from nlegoff/fix_1142

[3.8] Fix 1142 Js errors while validating user inscriptions