Use Location.append instead of “/“ concatenation.