rename the extension from js to json