moved addCommas to app, using addCommas in topic.tpl