Fixed the generation of the RequireJS config so that the demos work.