Add amd & commonjs exports