adding jquery snippet documentation