[code sandbox] Don't use base64 in data url

Since apparently btoa throws on non-ascii input