Add diagnostic output to oti-nudge HTML