Update javascript_div_segment