Only run profile js on pages that need it

Needed to split up the `.profile-groups-avatars` line into `User` since it does not affect profile, only user. It's misnamed.

Once again `$ ->` is evil.