 < 128) {
            var avatarId = CryptoJS.SHA256(''+Math.random()).toString().substring(0,20);
            var svg = multiavatar(avatarId);
            var div = document.createElement('div');
            div.setAttribute("onclick","downloadPng('"+avatarId+"')");
            div.innerHTML = svg;
            document.getElementById('avatars').appendChild(div);
            i++;
        }


        // Download avatar as PNG
        function downloadPng(id, whiteBg) {
            var wrapper= document.creat