switched the ordering in the header for AMD and CommonJS