x axis label fix in js