Update dispatcher.js