use amd and commonjs compatible modules