Add option of embedding graphic files directly into index.html file.