Optional discovery url selector - via js