Use layout attributes
Use layout attributes in demo. Also shim css styles for polyfill