PROV-868: Avoid undefined function JS error when clicking into quick search box

http://clangers.collectiveaccess.org/jira/browse/PROV-868