egoryURLEncoded }}-Developer-Salary-Remote';
      } else {
			  window.location.href = '/{{ .SiteJobCategoryURLEncoded }}-Developer-Salary-'+encodeURIComponent(document.getElementById('search-location').value);
      }
  }

document
  .getElementById('search-location')
  .addEventListener('keyup', function(event) {
      event.preventDefault();
      if (event.keyCode !== 13) {
        {{ if not .LoggedUser }}
        showPopup();
        {{ else }}
		document.getElementById('search-location-suggestions').