Fixed CommonJS module bug