Document jQuery guard function.