Fix for issue #709 when using show() with latest jquery