a tiny javascript hash router