(Phonegap) Notification.confirm with buttonLabels array

In the new version the comma separated buttonLabels parameter is marked as deprecated. Passing in an array of strings is the new preferred way.