Try moving done() in npmalerts.js