updates template to qjuery 9