Create a js for template modal

Just set some data attributes that have the same json object names