Is there ever going to be CSP on this site? If so, this is gonna break it. You can set a data attribute on the body and set logged in user there, read it from JS, and not worry about adding an inline script.

```
<body data-logged-in-user="<%= persona_user %>">
```
and then retrieve it in JS using:
```
var loggedInUser = $('body').data('logged-in-user');
```

See http://api.jquery.com/data/#data2