Text notes script

I’m looking for a js plugin that lets me put a small icon above text that when clicked will pop open a floating window with additional details like citations or comments.

A good example would be what’d on “wait but why” blog.

Can anyone help?