GoogleChromeのnotificationを連続で出す場合

GoogleChromeのnotificationを連続で出す場合、どうも同じNotificationIdでは何度も出せないみたい。
Googleが出してるサンプルを参考に、都度NotificationIdをランダムに生成するのがいいみたい。

function getNotificationId() {
  var id = Math.floor(Math.random() * 9007199254740992) + 1;
  return id.toString();
}

function messageReceived(message) {
〜略〜
  // Pop up a notification to show the GCM message.
  chrome.notifications.create(getNotificationId(), {
    title: 'GCM Message',
    iconUrl: 'gcm_128.png',
    type: 'basic',
    message: messageString
  }, function() {});
}