Made the package more nodejs compatible.