Microsoft had technology to do just this in 1999 (!). It was known as 'HTA' (Html Applications) but was ahead of its time - the rich DOM manipulation and CSS effects we have now didn't exist. HTA was discontinued years ago afaik, but in hindsight it was a peak at the future.