Updated demos to ensure all have valid HTML and JavaScript