Update Dispatcher.js

I think Array.filter expects a boolean return value, am I correct?