js datamodel and visuals
clean up and fix
Merge pull request #1 from civrot/js-data-model

js datamodel and visuals