Create Home.js

Add the refSearch function which loops through all created references and checks/unchecks checkboxes based on whether the reference was used in the text