Optimization

- All scripts to .js
- BranchInfo.js in module way
- local copy of json2.js