add missing semicolon
closes #20

ensure output html is saved and fix changed lib interface from
document-write-html.
Release v0.6.1.