Small helper function to remove extra leading whitespace caused by calling innerHTML on nested html nodes
npm install trim-extra-html-whitespace
Note: This snippet uses CommonJS exports, we can UMD-ify it later if neccessary