use r.js to produce optimized decisionlog-core.js; re-organize project