complete some more js/require code
Merge branch 'master' of https://github.com/julesbond007/search-app