Adding immediate function and jQuery extend snippets