default value using Autocompleter.local

I'm using recipe 7 from Rails Recipes to get really fast auto- completion through Javascript.

I was previously using text_field_auto_complete which lets me define as a default value.

I'd like to preserve this using the "<%= javascript_tag("new Autocompleter.Local(..." but I don't know how to define a default value.