add same js safety stages when filling the fields