use JS to warn people in the examples themselves that opening the HTML files directly doesn't work