Fixed javascript validation
Merge branch 'master' of github.com:akeneo/pim-community-dev