wired site into sitedetails.html, added editSite function.