prevent js error when updating password