register.html checkmark script pseudocode