fixup! Address review comments. Implement DOMContentLoaded to support readyState wpt test.