fixes to gravatars and get functions in user.js