JS/HTML can be run on your own machine without needing any cloud or other external service. You could distribute the application as a single .zip file or something, like binary executables often are. I've seen people sell games this way.
Note: based on my experience when hacking around with local app 2 years ago on Chrome and FF so things may have changed?