Adding window.onload