fixed RequireJS config and fleshed out YAML script