Make CommonJS compatible