function(event) {
            event.preventDefault();
            if (event.keyCode != 13) {
                return;
            }
            if (document.getElementById('search-location').value.trim() === '' && document.getElementById('search-tag').value.trim() === '') {
                window.location.href = '?l=&s=';
            } else if (document.getElementById('search-location').value.trim() !== '' && document.getElementById('search-tag').value.trim() === '') {
                window.location.href = 