Tests pass in Chrome
Fix race condition in test

The render is asynchronous
Firefox compatibility

Fixes processCSS for Firefox
resetCSS insert style element correctly for Firefox
Make test compatible for Firefox
Make HeightService compatible with Firefox