Changed json file to js