Fixed issue no:2 href undefined

href was undefined as we need to use loadstop event to hook the changes