You can create a statistics item to run by javascript by syntax:
[stats timer="TIMER NUMBER" number="NUMBER VALUE" class="CUSTOM CLASS" ]TITLE[/stats]