A second version of the bullgit badge (v1 by @lukyvj), by @haroenv.
just like you would include any script, include this in your html
<script src="/path/to/badge.js"></script>
You can for example use the rawgit cdn like this:
<script src="https://cdn.jsdelivr.net/gh/bullgit/badge@master/badge.js"></script>
WTFPL, do use this!