Fix configuration injection
Fix configuration injection

I was having an issue on [gitbook.com](https://www.gitbook.com/) regarding plugin configuration injection; finally solved it by adding this event listener. Please check it and use this patch if it works for you.
azu/gitbook-plugin-github-buttons,azu/gitbook-plugin-github-buttons