Remove unnecessary commonJS check