added type attribute in script tag
removed search.json from base path
Automatically add search.json and update js/application.js