added onbeforeunload to fix history not rerunning hash updates
added onbeforeunload to fix history not rerunning hash updates

lopopolo/hyperbola,lopopolo/hyperbola,lopopolo/hyperbola,lopopolo/hyperbola