typing in URL now triggers JS logic to do AJAX