JS connections to user profiles and some whitespace cleanup