Fixed broken jquery links in templates