Set api.loading as false when event default is prevented

People might want to do stuff on load-event and prevent it and then call api.load() again. That's why we need to set api.loading to false.