Mouseover hydrogens or peaks!

Need help understanding the code?