Update examples/master.js

rewrite dispatch's hash algorithm to align with redirector...