Reverse prefix evaluation order

In IE10, the event name is `visibilitychange` but both `document.msHidden` and `document.hidden` exist. Thus, we need to evaluate the empty prefix before the `'ms'` one.

Closes #7.