add browser URL change callback