use bops, for browser compatibility

This makes `bnocde` work in the browser! Tests pass.