[PATCH v2 2/6] vbscript: Use a helper function to reset the script dispatch.