// Using addEventListener prevents overwriting other load events window.addEventListener('load', function() { loadOlark(); killH2(); }); function loadOlark() { // Removed the nested