Corrections and edit with duplicate JS validate