add global to fix jshint
Merge pull request #3942 from guardian/jr-change-avatar

add global to fix jshint