Getting and setting the Web Badge API
Retrieving of application ID and then using it to set the badge count number and retrieve the badge count number.
PRIVILIGES NEEDED: http://tizen.org/privilege/notification
var appId = tizen.application.getCurrentApplication().appInfo.id;
tizen.badge.setBadgeCount(appId, badgeCount);
var badgeCount = tizen.badge.getBadgeCount(appId);