add generic call to nodejs