fix issue #709 when using show() with latest jquery