In fact, you will need "Offline Web Applications" for working with HTML5 to serve pages locally (for example, act as a local web server).
Another way to serve web applications locally can be through CouchDB: it is easily installed on Linux (not sure about Windows) and provides an integrated web server, of course, a database. You can push your HTML / JS site to CouchDB from a browser if the user installs the extension (this is easy to do in Firefox and Chrome).
source share