Make it work in the webpack-dev-server, looks much better anyways :).
Move example tests source code out of strings.
Make linter happier.
Remove unused code.
Move function usage below declaration #hintHappiness.