autocomplete sample code for tornado, redis, angularjs