Tweak things to match changes to MDN doc

Just updating things to be a little cleaner, I'm editing the MDN doc as well.
Merge pull request #1 from luser/patch-1

Tweak things to match changes to MDN doc