Local HTML files with embedded JavaScript are fantastic for mini portable apps. You can even load/save files with some finesse.

Simon Willison has mentioned this (portable html / js apps) before and has a collection online

https://tools.simonwillison.net