added function for including jquery on collections pages