A frecuent case of double callbacks in node.js