FYI anyone can integrate yubikey u2f logins on their website. It's easy, try it out:
https://developers.yubico.com/U2F/Libraries/List_of_librarie...
https://developers.yubico.com/U2F/Libraries/List_of_librarie...
You need to include this js: https://demo.yubico.com/js/u2f-api.js
... which isn't really mentioned anywhere. That js file loads an embedded chrome extension and handles all the heavy lifting.
The documentation (if there is any?) fails to mention that your appId has to be https; any http appIds will fail with an obscure error.