experimental async support for import-avatar.js