Feature/json to js