Register as CommonJS / AMD module