Note that AMD is the default module type

Also adds `cjs` option to example code.