A demonstration of data URI creation in javascript