Change js to json