Add local ref to jQuery

Develop it on a plane!
Swap envelope and envelope-o

Close gh-11
Pull one-time setup out of updateTypeahead()