Module definitions and support for require.js/amd, package.json, new demo.