Add support for CommonJS require

Adding support for the CommonJS style require - seems to work fine.