adding in some JS for the hiding of the results