transition from .json to .js