add snippet for commonjs module and jquery plugin