change location.path for default topic key to location.href for chrome compatibility