Entering data in json html: main.js