refactoring map js in prep for offlining
fixing api tree url
rearranging map code
refactoring submit map js in prep for offlining
Merge pull request #13 from adapt/feature/tree-view-page

Beginnings of tree view
Merge branch 'master' into feature/my-tags