The best thing would be to split webpages and webapps. Webpages can keep using HTML with some minimalistic, gracefully degrading javascript, while webapps need something better than hacks upon hacks upon hacks upon ... on top of technology that was meant to display static interlinked documents.