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