Initialize course autocomplete within the bundle

Remove the original autocomplete behavior, in favor of this more robust
approach of initializing everything in one place.