add lint target to makefile and cleanup dispatcher
delinting Dispatcher.js; use Object.create(null) for singleton pattern