Adding the onload event