adding jquery snippets