Fix empty selector

Hi!

I made a quick fix for the case you try to use getStyles() on an empty jQuery selector.

Cheers,
Thomas.