Predictive search manager in CoffeeScript