Fixed jQuery integration bug and fixed the thousand formatter