Add NodeJS compatibility