json working

got json to work moved js file from the js folder to the main folder.