agreed, he took more than a day!
HN front page has seen many such implementations on JS to simulate OS in browser. For last one year people are pushing the capabilities of Web-browsers by demonstrating such examples. But now this is the time I expect remote-desktops should come (without any plugin/java support).
But don't complain - it's still a funny thing to look at, right? :)