maybe you can write in in some other way? because now you are putting `init_bootstrap_type_ahead` in global js space and then assign it.