remove inline script to pass CSP validation

Hi,

this removed all inline script in the generated index.html to avoid CSP violations.
I need these fixs to get my app pass through the validation on firefox market:
https://marketplace.firefox.com/developers/validator