Extend some actions of showing elements by jQuery