use single file for browser/commonjs/amd and provide React impl for commonjs initializer