Cordova, node-webkit, atom-shell, windows8 ui, gnome ui, etc... All offer options to target html+js to a platform user interface.
I get to use the both the same HTML-based UI on the web part and the desktop app, as well as the compiled .NET libraries.