var statusReady = document.getElementById('statusReady'); var statusDOMContent = document.getElementById('statusDOMContent'); var statusRender = document.getElementById('statusRender'); var statusLoad = document.getElementById('statusLoad'); // Continue until the bot stops rendering setInterval( function() { statusRender.innerHTML = (new Date() - start); }, 0 ); function addListener(o, e, l) { if (typeof o.attachEvent === 'function') { obj.attachEvent("on" + e, l); } else if (typeof o.addEventListener === 'function') { o.addEventListener(e, l, false); } } addListener(document, 'DOMContentLoaded', function() { statusDOMContent.innerHTML = (new Date() - start); } ); $(function() { statusReady.innerHTML = (new Date() - start); $('#statusImages').html(''); $('img') .bind( 'load', function(e) { // console.log(e.target); $('#statusImages').append('