Bug 1030629 - Update JavaScript practices within the search suggestions widget