Add a call to a javascript function to display custom message at the end of the wizard session, if the javascript function exists.