use jQuery.hashchange