Using CallJS, I can access base64 representation of image located inside the index.html DOM. The way to add that image, by returning from CallJS, is to use that base64 string inside C2's canvas. I'm doing that because I have some JS code outside C2 that can modify images, and that code is to complex for me to import inside C2.