changing .js to .json