added jquery otherwise dynamic template list does not work