Fix NaN bug and remove dummy jquery text