Automatically add search.json and update js/application.js