struggling to get a 'tag input' form element with autocomplete

Getting closer… I found a simple Fiddle that demonstrate the functionality I’m after and ported it to Observable:

However, the example won’t work until i first add $ = in front of the selectize.md.js and then delete it again.

I recall seeing a trick that Tom and Mike did somewhere to define the order in which modules load (using await), but that doesn’t seem to apply here – as there’s just one module? [Like when Mike showed how to port over C3.js]

Is $ not a useful means of referencing JS within Observable?