Do not show change link if user has not yet accepted the invitation.
Remove js from registry, include it directly in the invitation.pt.