In case you were wondering how it works, this library is a rack middleware wrapper around this JavaScript:
<script>
var annotated = window.location.href.indexOf("genius.it/") != -1;
if (annotated) {
window.location.href = window.location.href.replace("genius.it/", "")
}
</script>