fix typo in visibilityState
Merge pull request #1 from juliangruber/patch-1

fix typo in visibilityState
Automatically rewritten for npm.