Better support for CommonJS environments
Updated dist JS