Document-oriented key-value storage in an HTML file