Fix/invalid html

- Move styles to head
- Prefer 'WebComponentsReady'