I'm guessing the browsers themselves aren't checking those other buttons perhaps, the spec seems to allow it though. More than three buttons is non-standard so it's probably something more complicated like gamepads, but there doesn't seem to be any other way to access the mouse from js.
I don't see any issue with giving beginners something new to learn, and in this case it's just a matter of using it like the example provided.