deposit: conferences typeahead requirejs impr.

* Adds requirejs dependencies.

* Removes a closure unneeded after requirejs adaptation.

* Breaks too long lines.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>