Support AMD and CommonJS out of the box