adding support for component in demo template

this allows component supporting browsers (ie Chrome) to get ShadowDOM styles.