go back javascript button only in url with template string