jslint avatarUpload