CommonJS detection adjustment