Fix html 5 shim