add support for easily embedding commbadge into other apps (bug 907569)