javascript hash routes