Use innerHTML instead of innerText in order to add styling rule

This is relavant for the helper _injectStyles in the resize plugin.

Follow up on #145.