commiting minor changes.
Merge branch 'APIv1'
Added JavaScript calls to API to submit and list entities.