use template in dfp js