Profile card fix

Specify the Accept-Language header in the profile card xhr header. The server will return javascript using this locale. Prevents undefined messages and stops the issue with a localization bundle not being available.