Move axisOptions $.extend statements to before axisOptions.axisLabel statements, to avoid js error.