Add optional parameter

In some designs of HTML, when the MsgBox is placed before the steps, may fail in the calculation of high when switching between different steps, if these errors are added manners.