use new browser api value for url, fixes #12