adding jquery snippet