Commented Search JS File and add flowchart