various fixes

validated html, moved js to bottom, changed shadow ID’s to classes