have default case working for nectar.js - global library, passing the query function to Twitter Typeahead