JS: Use base URL to build absolute URL for set_default_tab