added support for log ufunc in npm