Compatibility tests

Added HTML5 shim to demo.