The javascript check is 3 lines in a single place, which I think is far superior to repeating a set of conditional comments around the doctype on every HTML page. Removing the approach later on is going to be a lot more straightforward too.