Added AMD and CommonJS headers