Update Dispatcher.js

I think Array.filter expects a boolean return value –– am I correct in assuming the callback function should be written like this?

(First time submitting a pull request on this repo.)