fix json .js file and Completed code for project 2