$(document).ready(function() {
  $('#top form').submit(function(e) {
    if ($('#keywords').val().length <= 2) {
      return false;
    }
  });
});