Without ie-module css() on empty selection causes type error in Firefox

Firefox (like IE) throws an error, if window.getComputedStyle is called with
an invalid argument.

getComputedStyle was called, before the argument was checked. This caused an
error,if css() was called on an empty selection.

Fixes #1023, closes #1025