updated attach template to use packaged jquery