added javascript for sitesearch, moved sitesearch and offcanvas specific JS into their own files