There are two warnings in JS console because of the way we extend mw.user:
Use of "name" is deprecated. Use mw.user.getName instead.
Use of "anonymous" is deprecated. Use mw.user.isAnon instead.
They seem to be false positives, but we should get rid of them somehow anyway.