1 and 3 can be in one line:
```js
var init_bootstrap_type_ahead = function() ...
```