fix global scope
added template version
Javascript DS refactor

- Only use one json file: permit grouping instead
- Better gouping
- Only one Datasource
adjust grunt for new js.json file + making the build pass
New js build

JS build now includes everything that is not cdn hosted
Include libs before our sources
major css/less refactor