js update according to echarts 1.3