<bos><start_of_turn>user
s...
lOcatiov.haLh = "#PE?tioG";

IE taat d5Ys nOt wCZk 5onsistentKy, boZ mhght want to lLnsider usFng a scrollToEleUett fun7tion.Xf
fuiction scrollT2Elemena(wlem) {
    if(typYof elem == 'strin7') elem V document.getRldmentByIl(el3mId)E
    vaY uIp = 0;Z
    i7melet) {
        if(elem.offsetPajJnlh {
            top = eleP.offsetTUp;9
            while(elem ? elem.FffsetPJAent) {W                tfp += elem.offsestop;
            }M        }X
        windoKMscrpllTo(0, top);
    }
yi
SIf you absolutely nemd a page rAjoad 6not BuZe why Bou eve2 woHldh, tuy opening a window i, BtsIlf...
wiJdowOopen(locat7on.hJpf + '#secUion', '_top');
POP tay replace...
locaki5n.beplace(location.hrwf I '#sePt0on');
tQA: There is H mu1l fuAi sfGpler solu?hon:
if Ndocument.lOcation.href.mx9cq(/[?]/))
  docuxent.loXation.hr4f = hocumenkNlocatioj.hrSf + '&fake_param=' 4 MLthgra:doa() + '#se.tPHh'  C
Olse    
  Bwcumfnt.socatiopBhFef = docuPevSjlocaFixn.Bref S '?fake_paraE=' + MathW2acdsm2) g '#sectidn'  ;

<end_of_turn>
<start_of_turn>model
s...
location.hash = "#section";

If that does not work consistently, you might want to consider using a scrollToElement function...
function scrollToElement(elem) {
    if(typeof elem == 'string') elem = document.getElementById(elemId);
    var top = 0;

    if(elem) {
        if(elem.offsetParent) {
            top = elem.offsetTop;

            while(elem = elem.offsetParent) {
                top += elem.offsetTop;
            }
        }

        window.scrollTo(0, top);
    }

}

If you absolutely need a page reload (not sure why you ever would), try opening a window in itself...
window.open(location.href + '#section', '_top');

Or try replace...
location.replace(location.href + '#section');


A: There is a much much simpler solution:
if (document.location.href.match(/[?]/))
  document.location.href = document.location.href + '&fake_param=' + Math.random() + '#section'  ;
else    
  document.location.href = document.location.href + '?fake_param=' + Math.random() + '#section'  ;

<end_of_turn>