simplify nodejs exports