Add url change and title change events