Update user-avatars.js

Space after 'function' keyword