Update ProfileView.js

Make it a bit tidier. It's late and i'm tired, so no more big code changes for today :-(