add css and jquery on templates