updated .js, fixed .json files