Changed the order of conditions in css hooks. This will improve performance and prevent a reflow in the browser in the most common cases. See http://bugs.jquery.com/ticket/14979