Thing is, HTML is a really fantastic and powerful way of describing documents.
But it's absolutely terrible at describing UIs.
I know it'll never happen, but if we had a layer created specifically to deal with UI then the web could have a chance at becoming a great software platform.