Added some feature-checking to the browser version. Brushed up the demo slightly.