use jQuery templates instead of layouts