Simple scheduler for nodejs