Removal of legacy refresh in js head