added jquerycdn, define, and declare snips