Added in values for getting current URL for the loading event.