diff --git a/javascript/extensible-search-suggestions.js b/javascript/extensible-search-suggestions.js
index <HASH>..<HASH> 100644
--- a/javascript/extensible-search-suggestions.js
+++ b/javascript/extensible-search-suggestions.js
@@ -11,6 +11,10 @@
 				var search = $(this);
 				var URL = search.parents('form').attr('action').replace('getForm', 'getSuggestions');
 				search.autocomplete({
+
+					// Enforce a minimum autocomplete length.
+
+					minLength: 3,
 					source: function(request, response) {
 						$.get(URL, {
 							term: request.term
@@ -18,11 +22,7 @@
 						.success(function(data) {
 							response(data);
 						});
-					},
-
-					// Enforce a minimum autocomplete length.
-
-					minLength: 3
+					}
 				});
 			}
 		});
Minor update to the suggestions javascript.