Update for javascript hiding of text fields (fix)