add load and loading events