Fix premature firing of DOMContentLoaded in Ready.js