Script execution is deferred until page load is complete