I know nothing about phonegap, but as for javascript:
you can use the JS-Function
setTimeout(/javascript function/,milliseconds);
It executes the Function you pass after a specified time. For example
var birthday =
var now = Date.now();
setTimeout(reminder, birthday - now);
Something this way