adding the typeahead feature via the rails autocomplete gem, also had to add jquery-ui-rails gem and jquery.ui.all to both js and css files