task#5224 fix validate js