fixed dispatcher.coffee stuff; modified example.