added example json file and also added some stuff in UI.js