setTimeout is what you need. You will just have to calculate the current time, and do some math.
use javascripts date object and .getMinutes() methods to get the minutes of the hour. Then use how many minutes until 15,30,45,60,0 etc to calculate how long to setTimeout.